<script setup>
    import {ref} from 'vue'

    const count = ref(0)
    console.log(count)
    console.log(count.value)
    count.value++
    console.log(count.value)

    function increment() {
        count.value++
    }
</script>

<template>
    <div class="person">
        <button @click="increment">{{ count }}</button>
    </div>
</template>

<style scoped>
    .person {
        background-color: skyblue;
        box-shadow: 0 0 10px;
        border-radius: 10px;
        padding: 20px;
    }

    button {
        margin: 0 5px;
    }
</style>